import org.apache.log4j.Level;
import org.apache.log4j.Logger;
public class moudle2 {
    static final Logger logger = Logger.getLogger(moudle2.class);
    public static void main(String[] args) {
        System.out.println("moudle2...");
        logger.setLevel(Level.WARN);
        // debug level
        logger.debug("DEBUG(调试)");
        // info level
        logger.info("INFO(消息)");
        // warning level
        logger.warn("WARN(警告)");
        // error level
        logger.error("ERROR(错误)");
    }
}
